package com.zeh.billing.service;

import com.zeh.billing.config.BasePage;
import com.zeh.billing.config.CommonResult;
import com.zeh.billing.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zeh
 * @since 2021-08-20
 */
public interface CustomerService extends IService<Customer> {


    CommonResult add(CustomerAddDo customerdo);

    CommonResult search(String cid);

    boolean chargeMoney(CustomerChargeDto chargeDto);

    boolean addMoney(addMoneyDto addDto);

    CommonResult searchAll(BasePage basePage);

    Integer delete(String Cid);

    boolean addCard(addCardDo cardDo);

    List<CustomerVo>  searchCustomer(SearchCustomerDo customerDo);
}
